<template>
	<view class="">
		<bg-image />
		<view class="content animate__animated animate__bounceIn">
			<image class="_image " src="../../static/logo.png" mode=""></image>
			<button class="btn-primary but-c" @click="order">
				{{$t("index.StartOrdering")}}
			</button>
		</view>
	</view>


</template>

<script>
	import {
		occupyDesk
	} from '@/common/config/api.js'
	export default {
		data() {
			return {


			}

		},
		onLoad() {
			this.pageStatus = '';
			// this.fetch();
		},
		methods: {
			fetch() {
				this.showLoadingInPage()
			},
			order() {
				occupyDesk({
					id: this.getDeskId(),
				}).then((res) => {
					this.$u.route('/pages/home/NumberOfPeople');
				}).catch(() => {
				
				})
			}


		}
	}
</script>
<style lang="scss" scoped>
	// page {
	// 	background-image: url('~@/static/pageImg.png') repeat fixed center;
	// 	background-size: 100%;
	// }

	.content {
		height: 100vh;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;

		.but-c {
			width: 172px;
			height: 50px;
			margin-top: 42px;
			font-size: 18px;
		}

		._image {
			width: 170px;
			height: 263.76px;
		}

	}
</style>